package com.gqj.elec.mapper;

import java.util.List;
import com.gqj.elec.domain.ElecMaterialRepairdetail;

/**
 * 物资检修详情Mapper接口
 * 
 * @author lxq
 * @date 2023-12-17
 */
public interface ElecMaterialRepairdetailMapper 
{
    /**
     * 查询物资检修详情
     * 
     * @param repairdetailId 物资检修详情主键
     * @return 物资检修详情
     */
    public ElecMaterialRepairdetail selectElecMaterialRepairdetailByRepairdetailId(Long repairdetailId);

    /**
     * 检修过期查询
     *
     * @return 结果
     */
    public List<ElecMaterialRepairdetail> selectRepairOverdue();

    /**
     * 查询物资检修详情列表
     * 
     * @param elecMaterialRepairdetail 物资检修详情
     * @return 物资检修详情集合
     */
    public List<ElecMaterialRepairdetail> selectElecMaterialRepairdetailList(ElecMaterialRepairdetail elecMaterialRepairdetail);

    /**
     * 新增物资检修详情
     * 
     * @param elecMaterialRepairdetail 物资检修详情
     * @return 结果
     */
    public int insertElecMaterialRepairdetail(ElecMaterialRepairdetail elecMaterialRepairdetail);

    /**
     * 修改物资检修详情
     * 
     * @param elecMaterialRepairdetail 物资检修详情
     * @return 结果
     */
    public int updateElecMaterialRepairdetail(ElecMaterialRepairdetail elecMaterialRepairdetail);

    /**
     * 删除物资检修详情
     * 
     * @param repairdetailId 物资检修详情主键
     * @return 结果
     */
    public int deleteElecMaterialRepairdetailByRepairdetailId(Long repairdetailId);

    /**
     * 批量删除物资检修详情
     * 
     * @param repairdetailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteElecMaterialRepairdetailByRepairdetailIds(Long[] repairdetailIds);

    /**
     * 删除物资检修详情
     *
     * @param repairId 物资检修详情主键
     * @return 结果
     */
    public int deleteElecMaterialRepairdetailByoutId(Long repairId);
}
